using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{

    /// <summary>
    /// 数据条数:6
    /// 数据大小:16KB
    /// </summary>


    public class CompanyVo : BaseVo
    {
        #region Constract
        public Company mCompany;
        public CompanyVo(Company company)
        {
            mCompany = company;
        }
        public CompanyVo() { }

        // override object.Equals
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return false;
            }
            if(obj is CompanyVo vo)
            {
                return vo.Id == Id;
            }
            return base.Equals(obj);
        }

        // override object.GetHashCode
        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
        #endregion


        /// <summary>
        /// 可空:NO
        /// </summary>

        public Int64 Id { get { return mCompany.id; } set { mCompany.id = value; OnPropertyChanged(this, nameof(Id)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String FullName { get { return mCompany.fullName; } set { mCompany.fullName = value; OnPropertyChanged(this, nameof(FullName)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String ShortName { get { return mCompany.shortName; } set { mCompany.shortName = value; OnPropertyChanged(this, nameof(ShortName)); } }

        /// <summary>
        /// 注释:首拼
        /// 可空:YES
        /// </summary>

        public String NameFirstCase { get { return mCompany.nameFirstCase; } set { mCompany.nameFirstCase = value; OnPropertyChanged(this, nameof(NameFirstCase)); } }

        /// <summary>
        /// 注释:是否为煤矿 1是 0 否
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? IsCoalSource { get { return mCompany.isCoalSource; } set { mCompany.isCoalSource = value; OnPropertyChanged(this, nameof(IsCoalSource)); } }

        /// <summary>
        /// 注释:是否在线，使用系统
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? IsOnline { get { return mCompany.isOnline; } set { mCompany.isOnline = value; OnPropertyChanged(this, nameof(IsOnline)); } }

        /// <summary>
        /// 注释:法人
        /// 可空:YES
        /// </summary>

        public String LegalPerson { get { return mCompany.legalPerson; } set { mCompany.legalPerson = value; OnPropertyChanged(this, nameof(LegalPerson)); } }

        /// <summary>
        /// 注释:联系人
        /// 可空:YES
        /// </summary>

        public String ConnectPeople { get { return mCompany.connectPeople; } set { mCompany.connectPeople = value; OnPropertyChanged(this, nameof(ConnectPeople)); } }

        /// <summary>
        /// 注释:联系电话
        /// 可空:YES
        /// </summary>

        public String ConnectPhone { get { return mCompany.connectPhone; } set { mCompany.connectPhone = value; OnPropertyChanged(this, nameof(ConnectPhone)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? Addtime { get { return mCompany.addTime; } set { mCompany.addTime = value; OnPropertyChanged(this, nameof(Addtime)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public Int64? AddUserId { get { return mCompany.addUserId; } set { mCompany.addUserId = value; OnPropertyChanged(this, nameof(AddUserId)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String AddUserName { get { return mCompany.addUserName; } set { mCompany.addUserName = value; OnPropertyChanged(this, nameof(AddUserName)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? UpdateTime { get { return mCompany.updateTime; } set { mCompany.updateTime = value; OnPropertyChanged(this, nameof(UpdateTime)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public Int64? UpdateUserId { get { return mCompany.updateUserId; } set { mCompany.updateUserId = value; OnPropertyChanged(this, nameof(UpdateUserId)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String UpdateUserName { get { return mCompany.updateUserName; } set { mCompany.updateUserName = value; OnPropertyChanged(this, nameof(UpdateUserName)); } }

        /// <summary>
        /// 注释:备注
        /// 可空:YES
        /// </summary>

        public String Remark { get { return mCompany.remark; } set { mCompany.remark = value; OnPropertyChanged(this, nameof(Remark)); } }

        /// <summary>
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? IsDelete { get { return mCompany.isDelete; } set { mCompany.isDelete = value; OnPropertyChanged(this, nameof(IsDelete)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? DeleteTime { get { return mCompany.deleteTime; } set { mCompany.deleteTime = value; OnPropertyChanged(this, nameof(DeleteTime)); } }

        /// <summary>
        /// 注释:同步时间
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int64? SyncTime { get { return mCompany.syncTime; } set { mCompany.syncTime = value; OnPropertyChanged(this, nameof(SyncTime)); } }

        /// <summary>
        /// 注释:账号的ID
        /// 可空:NO
        ///默认值:0
        /// </summary>

        public Int64 AccountId { get { return mCompany.accountId; } set { mCompany.accountId = value; OnPropertyChanged(this, nameof(AccountId)); } }

    }
}
